package cn.slt.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import cn.slt.domian.MD_ObjDSID;
import cn.slt.mapper.MD_ObjDSIDMapper;
import cn.slt.service.MD_ObjDSIDService;

@Service
@Transactional
public class MD_ObjDSIDServiceImpl implements MD_ObjDSIDService {
	@Autowired
	private MD_ObjDSIDMapper mapper;

	public boolean addObjBatch(List<MD_ObjDSID> list) {
		return mapper.addObjBatch(list);
	}

	public boolean addobj(MD_ObjDSID obj) {

		return mapper.addobj(obj);
	}

	public boolean updateobj(MD_ObjDSID obj) {
	
		return mapper.updateobj(obj);
	}

	@Override
	public List<MD_ObjDSID> getOjbDsids(Integer dsCode) {
		
		return mapper.getOjbDsids(dsCode);
	}

	@Override
	public boolean deleteObj(int supdscode) {
		// TODO Auto-generated method stub
		return mapper.deleteObj(supdscode);
	}

	@Override
	public List<MD_ObjDSID> getEveryone() {
		// TODO Auto-generated method stub
		return mapper.getEveryone();
	}

}
